
Version:=1.9
ModuleName:=vlan

Objcet:=$(ModuleName).tar.gz
ObjectDir:=$(ModuleName)
ObjcetSource:=$(ModuleName).$(Version).tar.gz

DependFiles:=

InstallDir:=$(shell pwd)/tmp/usr/local/sbin

.PHONY: all $(ObjectDir) clean dist_clean

all:$(Objcet)

$(Objcet): $(ObjcetSource)
	tar -xzf $(ObjcetSource)
	mkdir -p $(InstallDir)
	$(MAKE) -C $(ObjectDir)
	cp -rf $(ObjectDir)/vconfig $(InstallDir)
	tar -czf $(Objcet) tmp

clean:
	rm -rf tmp $(Objcet)

dist_clean:clean
	rm -rf $(ObjectDir) $(ObjcetSource)
	
include ../../Makefile.Res
